﻿using AutoMapper;
using BCDto.WeChatComponent.WeChatKeyword;
using BCEntity.WeChatComponent.WeChatKeyword;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles
{
    public class WeChatKeywordProfile : Profile
    {
        public WeChatKeywordProfile()
        {
            CreateMap<WeChatKeywordEntity, WeChatKeywordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatKeywordDto, WeChatKeywordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatKeywordRequestDto, WeChatKeywordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
